CVE-2024-12828
Webmin CGI Command Injection Remote Code Execution Vulnerability
Description
Webmin CGI Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Webmin. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of CGI requests. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-22346.
INFO
Published Date :
Dec. 30, 2024, 5:15 p.m.
Last Modified :
Aug. 14, 2025, 6:41 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.0 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Update the affected packages.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-12828.
                                        
| URL | Resource | 
|---|---|
| https://github.com/webmin/authentic-theme/commit/61e5b10227b50407e3c6ac494ffbd4385d1b59df | Patch | 
| https://www.zerodayinitiative.com/advisories/ZDI-24-1725/ | Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-12828 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-12828
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-12828 vulnerability anywhere in the article.
		
 
									- 
                                                            
                                                                Cybersecurity News 
Webmin Vulnerability Allows Bypassing of SSL Certificate Authentication
A security vulnerability has been discovered in Webmin, a widely used web-based system administration tool for Unix-like servers. The vulnerability, present in Webmin versions 2.202 and below, could a ... Read more
 
									- 
                                                            
                                                                The Hacker News 
⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips [6 Jan]
Every tap, click, and swipe we make online shapes our digital lives, but it also opens doors—some we never meant to unlock. Extensions we trust, assistants we rely on, and even the codes we scan are t ... Read more
                The following table lists the changes that have been made to the
                CVE-2024-12828 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Aug. 14, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:webmin:webmin:2.104:*:*:*:*:*:*:* Added Reference Type Zero Day Initiative: https://github.com/webmin/authentic-theme/commit/61e5b10227b50407e3c6ac494ffbd4385d1b59df Types: Patch Added Reference Type Zero Day Initiative: https://www.zerodayinitiative.com/advisories/ZDI-24-1725/ Types: Third Party Advisory 
- 
                            New CVE Received by [email protected]Dec. 30, 2024 Action Type Old Value New Value Added Description Webmin CGI Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Webmin. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of CGI requests. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-22346. Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://github.com/webmin/authentic-theme/commit/61e5b10227b50407e3c6ac494ffbd4385d1b59df Added Reference https://www.zerodayinitiative.com/advisories/ZDI-24-1725/ 
 
                         
                         
                         
                                             
                                            